<%@page import="java.util.List,com.crm.entity.Sources"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><!-- InstanceBegin template="/Templates/temp.dwt" codeOutsideHTMLIsLocked="false" -->
<%@taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<!-- InstanceBeginEditable name="doctitle" -->

<!-- InstanceEndEditable -->
<link href="<%=application.getContextPath()%>/css/css-crm.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="<%=application.getContextPath()%>/js/jquery-1.6.min.js"></script>


</head>

<body>
<div id="main">
<%@ include file="common/header.jsp" %>
  <%@ include file="common/submenu.jsp" %>
  <div id="content"><!-- InstanceBeginEditable name="EditRegion3" -->
   <div id="saveSource">
  <form id="form1" name="form1" method="post" action="<%=application.getContextPath()%>/source/deleteSource.do" >
    <div id="work-area">
    
      <div class="heading">Sources</div>
	  
      <div class="box">
        
          <table width="100%" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td align="left">&nbsp;</td>
              <td align="left" valign="middle">&nbsp;</td>
              <td align="left" valign="middle">&nbsp;</td>
              <td align="left" valign="middle">&nbsp;</td>
              <td align="left" valign="middle">&nbsp;</td>
              <td align="left" valign="middle">&nbsp;</td>
            </tr>
            <tr>
              <td width="19%" align="left">Name</td>
              <td width="30%" align="left" valign="middle">
              <label></label> 
              <% List<Sources> ls=(List<Sources>)request.getAttribute("sources-List");%>
                 <select name="soName" id="soName">
                 <option value="Please Select">Please Select</option>
                 <% for(int i=0;i<ls.size();i++){
                 System.out.println("I Value Is:"+i);
                 %>
                 <option value="<%=ls.get(i).getSourceName()%>"><%=ls.get(i).getSourceName()%></option>
                 <% }%>
                 </select>
                 
                 </td>
            </tr>
            <tr>
              <td height="5" align="right"></td>
              <td height="5" align="right" valign="top"></td>
              <td height="5" align="left" valign="middle"></td>
              <td height="5" align="left" valign="top"></td>
              <td height="5" align="left" valign="top"></td>
              <td height="5" align="left" valign="top"></td>
            </tr>
            <tr>
              <td colspan="2" align="left" valign="middle"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                
              </table>                <label></label></td>
              <td align="left" valign="middle">&nbsp;</td>
              <td align="left" valign="top">&nbsp;</td>
              <td align="left" valign="top">&nbsp;</td>
              <td align="left" valign="top">&nbsp;</td>
            </tr>
          </table>
     
      </div>
	  
	  <div class="box2"></div>
	  <div class="box2">
	    <div class="buttton-main">
	    <input type="reset" value="Clear" class="button"/>
	    <input type="submit" class="button" value="Delete"/>
	    </div>
	  </div>
	  
    </div>
    </form>
    </div>
   
    <div id="editSource"></div>
    <!-- InstanceEndEditable -->
     </div>
  <div id="footer"></div>  
</div>
</body>
<!-- InstanceEnd --></html>
